div,
a,
span,
li,
ul,
ol,
body,
dl,
dd,
dt,
input,
textarea,
form,
button,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    padding: 0;
    margin: 0;
    font-weight: normal
}

body {
    width: 100%;
    font-size: .16rem;
    font-family: 'PingFangSC-Regular', serif;
    -webkit-text-size-adjust: none;
}

li {
    list-style-type: none
}

a {
    text-decoration: none;
    color: #000
}

.clearfix:after {
    content: "";
    height: 0;
    overflow: hidden;
    visibility: hidden;
    clear: both;
    display: block
}

em,
i,
font {
    font-style: normal
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex
}

//公共头部
.public-header {
    justify-content: space-between;
    padding: 0 .12rem;
    height: .44rem;
    align-items: center;
    background: #fff; // 搜索
    .public-header-left-search {
        // background: url('../img/搜索-搜索@2x.png')no-repeat center;
        width: .158rem;
        height: .16rem;
        background-size: contain;
        color: transparent;
    } // 返回
    .public-header-left-back {
        //  background: url('../img/返回@2x.png')no-repeat center;
        width: .09rem;
        height: .16rem;
        background-size: contain;
        color: transparent;
    }
    .public-header-center {
        flex: 1;
        text-align: center;
        font-size: .17rem; // color: rgba(255, 255, 255, 0.9);
        color: transparent;
    }
    .public-header-right {
        font-size: .12rem;
        color: #121212;
    }
}

// 公共底部栏
.public-footer {
    height: .49rem;
    background: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: .1rem;
    color: rgba(18, 18, 18, 0.4);
    justify-content: space-around;
    align-items: center;
    text-align: center;
    span {
        display: block;
        width: .24rem;
        margin: 0 auto;
        height: .24rem;
    }
    .button-1 {
        span {
            background: url(../img/首页@2x.png) no-repeat center;
            background-size: contain;
        }
        &.active {
            span {
                background: url('../img/首页 01@2x.png') no-repeat center;
                background-size: contain;
            }
            color:rgba(95,
            49,
            4,
            1);
        }
    }
    .button-2 {
        span {
            background: url('../img/分类 02@2x.png') no-repeat center;
            background-size: contain;
        }
        &.active {
            span {
                background: url('../img/分类 01@2x.png') no-repeat center;
                background-size: contain;
            }
            color:rgba(95,
            49,
            4,
            1);
        }
    }
    .button-3 {
        span {
            background: url('../img/发现 02@2x.png') no-repeat center;
            background-size: contain;
        }
        &.active {
            span {
                background: url('../img/发现 01@3x.png') no-repeat center;
                background-size: contain;
            }
            color:rgba(95,
            49,
            4,
            1);
        }
    }
    .button-4 {
        span {
            background: url('../img/我的 02@2x.png') no-repeat center;
            background-size: contain;
        }
        &.active {
            span {
                background: url('../img/我的 01@2x.png') no-repeat center;
                background-size: contain;
            }
            color:rgba(95,
            49,
            4,
            1);
        }
    }
}

.mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
}